[VTPM] Make vTPM hotplug scripts use the UUID of the vTPM instance
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 17 Jul 2007 09:33:26 +0000 (10:33 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 17 Jul 2007 09:33:26 +0000 (10:33 +0100)
commitf0a8a3f3fb3cf31ecb9e9b4ddad2aeb902f8bc3e
treeaafda5db40aa53e4f282b5ad84d823ab4c09853a
parent86de051ee16d770173373c5fa3b35249781ac754
[VTPM] Make vTPM hotplug scripts use the UUID of the vTPM instance

Make the vTPM hotplug script use the UUID of the vTPM instance for
associating it with its instance number rather than the name of the
domain.
Also change the cleanup in the xm test to use the atexit mechanism
rather than explicitly calling a function to clean up.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
12 files changed:
tools/examples/vtpm-common.sh
tools/python/xen/xend/XendDevices.py
tools/python/xen/xend/server/tpmif.py
tools/xm-test/tests/vtpm/01_vtpm-list_pos.py
tools/xm-test/tests/vtpm/02_vtpm-cat_pcrs.py
tools/xm-test/tests/vtpm/03_vtpm-susp_res.py
tools/xm-test/tests/vtpm/04_vtpm-loc_migr.py
tools/xm-test/tests/vtpm/05_vtpm-loc_migr.py
tools/xm-test/tests/vtpm/06_vtpm-susp_res_pcrs.py
tools/xm-test/tests/vtpm/07_vtpm-mig_pcrs.py
tools/xm-test/tests/vtpm/08_vtpm-mig_pcrs.py
tools/xm-test/tests/vtpm/vtpm_utils.py